Skip to content

[SYCL] logical operation return type is boolean#17239

Merged
aelovikov-intel merged 9 commits into
intel:syclfrom
dklochkov-emb:sycl-logical-operations-return-type
Apr 22, 2025
Merged

[SYCL] logical operation return type is boolean#17239
aelovikov-intel merged 9 commits into
intel:syclfrom
dklochkov-emb:sycl-logical-operations-return-type

Conversation

@dklochkov-emb
Copy link
Copy Markdown
Contributor

@dklochkov-emb dklochkov-emb commented Feb 28, 2025

fix to return boolean value type of logical_and/logical_or according to
KhronosGroup/SYCL-Docs#648

CTS changes will be done in a separate PR

Comment thread sycl/test/basic_tests/logical_operations.cpp Outdated
Comment thread sycl/test/basic_tests/logical_operations.cpp
Comment thread sycl/include/sycl/functional.hpp
Copy link
Copy Markdown
Contributor

@HPS-1 HPS-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why is TEST_VOID_TYPES added? I mean I think we can just run tests for void and non-void versions together. This we we only need 2 instead of 4 runs in total. Other than this small issue I believe you've addressed all the comments. LGTM!

Comment thread sycl/include/sycl/functional.hpp Outdated
Comment thread sycl/test/basic_tests/logical_operations.cpp Outdated
@dklochkov-emb
Copy link
Copy Markdown
Contributor Author

@aelovikov-intel Please, review it

Comment thread sycl/test/basic_tests/logical_operations.cpp Outdated
Comment thread sycl/test/basic_tests/logical_operations_void_types.cpp Outdated
Comment thread sycl/test/basic_tests/logical_operations.cpp Outdated
Co-authored-by: Steffen Larsen <steffen.larsen@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants